package com.ray.service;

import com.ray.utils.DbUtil;

public class DbServiceImpl implements DbService
{
    private DbUtil dbUtil;

    public DbServiceImpl()
    {
    }

    public DbServiceImpl(DbUtil dbUtil)
    {
        this.dbUtil = dbUtil;
    }

    public void setDbUtil(DbUtil dbUtil)
    {
        this.dbUtil = dbUtil;
    }

    /**
     * @param dbUtil
     */
    @Override
    public void getConnetion()
    {
        dbUtil.getConnection();
    }
}
